<load href="../Public/css/account.css" />
<load href="../Public/js/module/User/account.js" />
<div id="main-content">


    <div class="left">
        <div class="thin-caption">
            <div class="thin-caption-left"></div>
            <div class="thin-caption-content"></div>
            <div class="thin-caption-right"></div>
        </div>
        <div class="left-field profile-page">
            <h1>账户管理</h1>
            <div class="account-tab">
                <ul>
                    <li><a href="__APP__/User/profile.shtml">个人资料</a></li>
                    <li><a href="__APP__/User/avatar.shtml">头像</a></li>
                    <li class="selected"><a href="javascript:void(0);">账号与密码</a></li>
                    <li><a href="/accounts/social/">绑定</a></li>
                </ul>
            </div>
            <notempty name="modify">
                <form id="frm_modify" method="post" action="__APP__/User/account.shtml" class="form-box">
                    <div style="display:none"><input type="hidden" value="8402e41dd343b6bda0b3be5d58cb7e32" name="csrfmiddlewaretoken"></div>
                    <div class="input-box input-pwd">
                        <label for="id_old_password">旧密码:</label>
                        <input type="password" name="old_password" id="id_old_password">
                        <span class="error"></span>
                    </div>
                    <div class="input-box input-pwd">
                        <label for="id_new_password1">新密码:</label>
                        <input type="password" name="new_password1" id="id_new_password1">
                        <span class="error"></span>
                    </div>
                    <div class="input-box input-pwd">
                        <label for="id_new_password2">重复新密码:</label>
                        <input type="password" name="new_password2" id="id_new_password2">
                        <span class="error"></span>
                    </div>
                    <a id="a_account_modify" class="rectangle-button" href="#" style="margin-top:10px;">提交更改</a>
                </form>
                <else />
                <div style="padding-top:10px" class="form-box">
                    <div style="display:none"><input type="hidden" value="8402e41dd343b6bda0b3be5d58cb7e32" name="csrfmiddlewaretoken"></div>

                    <div class="input-box">
                        <label>邮箱</label>{$user.email}
                    </div>
                    <div class="input-box">
                        <label>登录密码</label><a href="__APP__/User/account/modify/1.shtml">修改</a>
                    </div>

                    <br>
                    <div class="input-box">
                        <label>上次登录</label>{$user.last_datetime }
                    </div>
                    <div class="input-box">
                        <label>创建日期</label>{$user.datetime}
                    </div>
                </div>
            </notempty>




            <div class="clear"></div>
        </div>
        <div class="left-shadow"></div>
    </div>
    <div class="right">

    </div>
    <div class="clear">
    </div>



</div>
